WPDiscourse\Admin\NetworkOptions A

Total Complexity 71
Dependencies 0
Dependents 0
Total lines 864
Lines of code 640
Logical lines of code 167
Comment lines 145
Methods 26
Properties 0

Methods 26

Method Rating Maintainability Complexity Lines of code
network_config_notices()
B
38 23 67
setup()
A
35 1 141
save_network_settings()
S
51 7 27
input()
S
51 6 27
network_settings_details()
S
47 1 63
network_options_page()
S
52 2 30
use_discourse_webhook_checkbox()
S
52 2 28
validate_site_options()
S
61 3 12
checkbox_input()
S
53 2 25
use_discourse_user_webhook_checkbox()
S
55 2 22
api_key_input()
S
56 2 21
webhook_secret_input()
S
56 2 19
sso_secret_input()
S
57 2 18
get_site_option()
S
66 3 8
webhook_match_user_email_checkbox()
S
61 1 17
hide_discourse_name_field_checkbox()
S
61 1 17
webhook_match_old_topics_checkbox()
S
61 1 17
publish_username_input()
S
61 1 15
next_setting_heading()
S
67 2 10
multisite_configuration_checkbox()
S
63 1 13
add_network_settings_page()
S
64 1 11
__construct()
S
70 1 6
sanitize_item()
S
80 1 3
enable_sso_client_checkbox()
S
63 1 10
url_input()
S
78 1 3
enable_sso_provider_checkbox()
S
63 1 10